﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace QuickStart
{
	public interface IRepository<TEntity>
		where TEntity : IEntity
	{
		string Create(TEntity entity);
		bool Update(TEntity entity);
		bool Delete(TEntity entity);
		bool Delete(string entityId);
		TEntity Get(string entityId);
		IEnumerable<TEntity> GetAll();
	}
}
